<script setup lang="ts">
import Child06 from "../components/项目四/Child06.vue";
import Child04 from "../components/项目四/Child06.vue";
import { ref, reactive } from "vue";
</script>

<template>
  <div class="father">
    <h3>父组件</h3>
    <div class="content">
      <Child06>
        <template v-slot="prame">
          <ul>
            <li v-for="g in prame.youxi">
              {{ g.name }}
            </li>
          </ul>
        </template>
      </Child06>
      <Child06>
        <template v-slot="prame">
          <h3 v-for="g in prame.youxi">
            {{ g.name }}
          </h3>
        </template>
      </Child06>
      <Child06>
        <template v-slot="prame">
          <ol>
            <li v-for="g in prame.youxi">
              {{ g.name }}
            </li>
          </ol>
        </template>
      </Child06>
    </div>
  </div>
</template>

<style scoped>
.father {
  background-color: rgb(165, 164, 164);
  padding: 20px;
  border-radius: 10px;
}

.content {
  display: flex;
  justify-content: space-evenly;
}
img,
video {
  width: 100%;
}
</style>
